package com.wqi.test;

public class Mugs {

	Mug c1 = new Mug(3);
	Mug c2;
	{
		c1 = new Mug(1);
		c2 = new Mug(2);
		System.out.println("c1 & c2 initialized");
	}
	Mugs(){
		System.out.println("Mugs()");
	}
	
	public static void main(String[] args) {
		System.out.println("Inside Main()");
		Mugs x = new Mugs();
	}

}

class Mug{
	Mug(int maker){
		System.out.println("Mug("+maker+")");
	}
	void f(int maker){
		System.out.println("f("+maker+")");
	}
}
